package com.att.dao;

import com.att.bean.UserOfRunDeilBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserOfRunDeilDaoMapper {
    public boolean insert(@Param("list") List list);

    public boolean delete(UserOfRunDeilBean bean);

    public List<UserOfRunDeilBean> findUserOfRunDeilBean(UserOfRunDeilBean bean);
    /**
     * 删除时间班次时间段的时候删除排班的信息
     * @param week  删除周几的
     * @param numRunId
     * @return
     */
    public boolean deleteByWeek(@Param("week") String week,@Param("numRunId") Integer numRunId);
    /**
     * 删除时间班次时间段的时候删除排班的信息
     * @param day
     * @param numRunId
     * @return
     */
    public boolean deleteByDay(@Param("day") String day,@Param("numRunId") Integer numRunId);


}
